﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElectronicsMarket_Desktop.EMServices;

namespace ElectronicsMarket_Desktop.BL
{
  public  class OrderDetailsBL
    {
      ServicesReleaseSoapClient services;
      ORDERS_DETAIL _orderdetail;

      public ORDERS_DETAIL Orderdetail
      {
          get { return _orderdetail; }
          set { _orderdetail = value; }
      }
      public OrderDetailsBL()
      {
          services = new ServicesReleaseSoapClient();
          Orderdetail = new ORDERS_DETAIL();
      }
      public List<ORDERS_DETAIL> getOrderDetailByID()
      {
          return services.getOrderDetailsByID((int)Orderdetail.ORDERS_ID).ToList();
      }
    }
}
